package com.ibook;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.widget.*;

public class Main extends Activity {  
	public void OnCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		Button searchButton = (Button) findViewById(R.id.widget30);
		setContentView(R.layout.main);
		searchButton.setOnClickListener(new Button.OnClickListener() {
			public void onClick(View v) {
		Intent anotherActivity =
		new Intent(Main.this, Search.class);
		String content=((EditText) findViewById(R.id.widget28)).getText().toString();	
		anotherActivity.putExtra("TEXT", content);

	}
		});
	}
}
